﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    EnableEventValidation="false" CodeBehind="Agendamento.aspx.cs" Inherits=" RzCorportativo.Views.Cadastros.Agendamento" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        Consulta</h1>
    <%=EFramework.Web.Html.HtmlTags.CreateJavaScritpTag("CadastroAgendamentoJs.js", true)%>
    <div id="i" style="">
    </div>
    <div class="controls controls-row">
        <asp:TextBox runat="server" ID="Cpf" mask="cpf" placeholder="Nome" />
    </div>
    <div class="controls controls-row">
        <asp:TextBox runat="server" ID="DataConsulta" date="true" mask="calendar" max-year='5'
            min-date='now' placeholder="Data da Consulta" />
    </div>
    <div class="controls controls-row">
        <asp:TextBox runat="server" ID="HoraInicio" clock="true" placeholder="Hora de Entrada" />
        <asp:TextBox runat="server" ID="HoraSaida" clock="true" placeholder="Hora de Saída" />
    </div>
    <div class="controls controls-row">
        <asp:DropDownList runat="server" ID="EspecialidadeId" Width="265">
        </asp:DropDownList>
        <asp:DropDownList runat="server" ID="MedicoId" Width="265">
        </asp:DropDownList>
    </div>
    <%--<table border="0" cellpadding="1" cellspacing="1" style="width: 100%">
        <tr>
            <td>
                Paciente
            </td>
            <td>
            </td>
            <td>
                Data da Consulta
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                Hora de Entrada
            </td>
            <td>
            </td>
            <td>
                Hora de Saída
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                Avaliado
            </td>
            <td>
                <asp:CheckBox runat="server" ID="Avaliado" Enabled="false" />
            </td>
            <td>
                Aprovado
            </td>
            <td>
                <asp:CheckBox runat="server" ID="Aprovado" Enabled="false" />
            </td>
        </tr>
        <tr>
            <td>
                Especialidade
            </td>
            <td>
            </td>
            <td>
                Médico
            </td>
            <td>
            </td>
        </tr>
    </table>--%>
    <asp:TextBox runat="server" ID="PacienteId" type="hidden" />
    <asp:TextBox runat="server" ID="AgendaId" type="hidden" />
    <asp:TextBox runat="server" ID="Nome" type="hidden" />
    <asp:Button Text="salvar" runat="server" ID="salvar" OnClick="salvar_Click" CssClass="btn btn-success" />
    <asp:Button Text="voltar" runat="server" ID="voltar" CssClass="btn btn-info" OnClientClick="return Back();" />
    <script type="text/javascript">
        function Back() {
            window.location.href = '<%=this.ResolveUrl("~/Views/Cadastros/Agenda.aspx")%>';
            return false;
        }
    </script>
</asp:Content>
